<h1>Browse Server, Select the One that best illustrates your physical device</h1>

<table class=" listing" summary= "Server List">    
    <tr class= "header">
        <th>Server Name</th><th>
        <th>Server Model</th><th>
        <th>
            <th>
                <th>
                     Server Image
                </th>
            </th>
        </th>
    </tr>
    <% @customizations.each do |customization| %>
    <tr>   
        <td><%= customization.name %></td><td>
        <td><%= customization.model %></td><td>
        <td class="actions">
            <td>
                <td>
                    <%= form_for(:customization, :url => {:action => "browse_create", 
                                                          :template => "customizations/edit",
                                                          :id => customization.id } ) do |f| %>
                                
                     <%= image_submit_tag("#{customization.image}",{ :width => "150", 
                                                                    :height => "150",
                                                                    :id => f.id})%>
                    <%end%>
                </td>
            </td>
        </td>
    </tr>
    <% end %>
</table>
<br />
<%= render(:partial => "shared/upload")%>
<br />
<%= link_to("Back to Storage", {:controller => "customizations", 
                                    :action => "index"}, :class => "back-link")%>
                                    
<br />
<br />
<%= debug(@customization) %>
<br />
<br />
<%= params.inspect %>